package org.kth.dks.dks_dht;

import java.io.IOException;

import org.kth.dks.dks_marshal.DKSMessage;

public class GetItemsMsg extends DKSMessage {
    public final static String NAME= "GETITEMSMSG";
    public long key;

    public String getName() { return NAME; }

    public GetItemsMsg() {
    }

    public GetItemsMsg( long k) {
      key = k;
    }

    public long getKey(){
	return key;
    }

  public void marshal() throws IOException {
    marshaler.addLong(key, "key");
  }

  public void unmarshal() throws IOException {
    key = marshaler.remLong("key");
 }
}
